MailPoet\API\MP\v1\Subscribers A

Total Complexity 57
Dependencies 19
Dependents 3
Total lines 360
Lines of code 222
Logical lines of code 129
Comment lines 59
Methods 11
Properties 12

Methods 11

Method Rating Maintainability Complexity Lines of code
subscribeToLists()
B
41 16 52
addSubscriber()
A
43 10 48
getAndValidateSegments()
A
44 10 44
_scheduleWelcomeNotification()
S
60 5 13
findSubscriber()
S
60 5 12
checkSubscriberAndListParams()
S
66 3 8
extractCustomFieldsFromFromSubscriberData()
S
63 3 10
_sendConfirmationEmail()
S
64 2 10
__construct()
S
59 1 14
getSubscriber()
S
76 1 4
unsubscribeFromLists()
S
68 1 7